package com.mxpio.erp.common.equipment.entity;

import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description: 点巡检计划目标
 * @Author: wxy
 * @Date:   2021-09-16
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_EQUIPMENT_CHECK_PLAN_TARGET")
@Schema(description="点巡检计划目标")
public class EquipmentCheckPlanTarget extends BaseEntity {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@Id
	@Generator
	@Column(name = "ID_", updatable = false)
	@Schema(description = "ID")
	private String id;
	/**点巡检类别*/
	@Column(name = "CHECK_TYPE_")
	@Schema(description = "点巡检类别")
	private String checkType;
	/**点巡检计划ID*/
	@Column(name = "PLAN_ID_")
	@Schema(description = "点巡检计划ID")
	private String planId;
	/**点巡检目标*/
	@Column(name = "TARGET_ID_")
	@Schema(description = "点巡检目标")
	private String targetId;
	/**目标编码*/
	@Column(name = "TARGET_CODE_")
	@Schema(description = "目标编码")
	private String targetCode;
	/**目标名称*/
	@Column(name = "TARGET_NAME_")
	@Schema(description = "目标名称")
	private String targetName;
	/**目标规格*/
	@Column(name = "TARGET_SPEC_")
	@Schema(description = "目标规格")
	private String targetSpec;

}
